278e0e3f3f922dd228d5906a8ddb2cef5bcba8c6,src-modules/org/opencms/ade/galleries/CmsGalleryService.java,CmsGalleryService,buildGalleriesList,#Map#,345

Before Change


            Entry<String, CmsGalleryTypeInfo> ent = iGalleryTypes.next();
            CmsGalleryTypeInfo tInfo = ent.getValue();
            String iconPath = CmsWorkplace.getResourceUri(CmsWorkplace.RES_PATH_FILETYPES
                + OpenCms.getWorkplaceManager().getExplorerTypeSetting(tInfo.getResourceType().getTypeName()).getIcon());
            ArrayList<String> contentTypes = new ArrayList<String>();
            Iterator<I_CmsResourceType> it = tInfo.getContentTypes().iterator();
            while (it.hasNext()) {

After Change


            CmsGalleryTypeInfo tInfo = ent.getValue();

            // set the icon
            String iconPath = getCoreService().getIcon(tInfo.getResourceType().getTypeName());

            //TODO: remove    String iconPath = CmsWorkplace.getResourceUri(CmsWorkplace.RES_PATH_FILETYPES
            //                + OpenCms.getWorkplaceManager().getExplorerTypeSetting(tInfo.getResourceType().getTypeName()).getIcon());